package com.xgry.bpm.api.business.author.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * <p>
 * TBAuthor对象
 * </p>
 *
 * @author admin
 * @since 2020-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ToString
@TableName("t_b_author")
@ApiModel(value = "TBAuthor对象", description = "权限表")
public class TBAuthor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @ExcelIgnore
    @TableId(value = "id", type = IdType.AUTO)
    @JSONField(name = "id")
    private Integer id;

    @ApiModelProperty(value = "门户集合")
    private String gateways;

    @ApiModelProperty(value = "模块集合")
    private String modulars;

    @ApiModelProperty(value = "菜单集合")
    private String menus;

    @ApiModelProperty(value = "按钮集合")
    private String functions;

    @ApiModelProperty(value = "角色id")
    private Integer roleId;


}